package com.day22.ex04;

public class AddableDemo {
    public static void main(String[] args) {
        useAddable((int x,int y)->{
            return x+y;
        });
    }
    private  static void  useAddable(Addable a){
        int sum=a.add(10,20);
        System.out.println(sum);
    }
}
